<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>first</title>
    <!-- 引入vue.js -->
    <script src="https://cdn.jsdelivr.net/npm/vue@2.6.14/dist/vue.js"></script>
</head>
<body>
    <div id="div">
        {{msg}}
        {{msg1}}
    </div>
    <script>
        // vue脚本
        new Vue({
            el:"#div",
            data:{
                msg:"HELLO VUE",
                msg1:"hi vue"
            }
        })
    </script>
</body>
</html>